package com.noah.note.model;

import com.noah.note.global.BaseModel;
import com.noah.note.global.Const;
import com.noah.note.global.OkHttpCallback;
import com.noah.note.manager.HttpManager;
import com.noah.note.utils.AppUtils;

import java.util.HashMap;
import java.util.Map;

import okhttp3.Callback;

/**
 * Created by zzh on 2018/5/15.
 */

public class MarkModel extends BaseModel {
    public void getMarkList(long uid, long time, OkHttpCallback okHttpCallback) {
        AppUtils.getFlow("获取关注列表");
        //LogUtils.i("登录是主线程:" + (Looper.myLooper() == Looper.getMainLooper()));
        Map<String, String> map = new HashMap<>();
        map.put("mid", String.valueOf(uid));
        map.put("time", String.valueOf(time));
        HttpManager.getInstance().post(Const.API_GET_MARK_NOTE_LIST, map, okHttpCallback);
    }
}
